% The binomial ${\cal B}in(10,0.3)$ PMF
% ProbBasics - Confidence Intervals
% bin10p3.eps
x=0:10;
y=binopdf(x,10,0.3);
bar(x,y)
barh([1 2 3],[0.067 0.652; 0.061, 0.538; 0.213 0.405],'stacked')